<template>
  <div class="main_box">
    <div class="fristTop">
      <div class="fristTopLeft">
        <div class="title">
          <span>全区收支基本情况 </span>
          <p>截止六月份</p>
          <i class="danwei">单位：万元</i>
        </div>
        <div class="item_box">
          <div
            v-for="(item, index) in fristTopList"
            :key="index"
            class="pageMid_item"
          >
            <div class="picItem">
              <img :src="item.picUrl" alt="">
            </div>
            <!-- <div class="conItem_top" v-if="(index = 0)">
            <div class="conRow">
              <div class="conRow_left">
                <p>{{ item.label1 }}</p>
                <span>{{ item.num1 }}</span>
              </div>
              <div class="conRow_right">
                <p>{{ item.label2 }}</p>
                <span>{{ item.num2 }}</span>
              </div>
            </div>
            <div class="conRow">
              <div class="conRow_left">
                <p>{{ item.label3 }}</p>
                <span>{{ item.num3 }}</span>
              </div>
              <div class="conRow_right">
                <p>{{ item.label4 }}</p>
                <span>{{ item.num4 }}</span>
              </div>
            </div>
          </div> -->
            <div class="conItem">
              <div class="conText">
                <p>{{ item.label1 }}</p>
                <span>{{ item.num1 }}</span>
              </div>
              <div class="conText">
                <p>{{ item.label2 }}</p>
                <span>{{ item.num2 }}</span>
              </div>
              <div class="conText">
                <p>{{ item.label3 }}</p>
                <span>{{ item.num3 }}</span>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div class="fristTopMid">
        <div class="box_left_three">
          <div
            class="con_left_top"
            style="margin-bottom: 10px; position: relative"
          >
            <h3>镇街支出来源情况</h3>
            <span class="danwei">单位：万元</span>
          </div>
          <div style="margin-top: 20px">
            <div class="three_con" @mouseover="hoverbtn(1)" @mouseout="outBtn">
              <img v-if="flag !== 1" src="@/assets/img/thirdMain/area chart.png" alt="">

              <img
                v-if="flag === 1"
                src="@/assets/img/thirdMain/area chart备份.png"
                alt=""
              >
              <div class="con_text">
                <p>99,891</p>
                <span>一般公共预算收入</span>
              </div>
            </div>
            <div class="three_con" @mouseover="hoverbtn(2)" @mouseout="outBtn">
              <img
                v-if="flag !== 2"
                src="@/assets/img/thirdMain/bar chart (1).png"
                alt=""
              >
              <img
                v-if="flag === 2"
                class="img_pic"
                src="@/assets/img/thirdMain/line chart备份.png"
                alt=""
              >
              <div class="con_text">
                <p>135,641</p>
                <span>专用基金收入</span>
              </div>
            </div>
            <div class="three_con" @mouseover="hoverbtn(3)" @mouseout="outBtn">
              <img v-if="flag !== 3" src="@/assets/img/thirdMain/point map.png" alt="">
              <img
                v-if="flag === 3"
                src="@/assets/img/thirdMain/bar chart (2).png"
                alt=""
              >
              <div class="con_text">
                <p>179,559</p>
                <span>政府性资金收入</span>
              </div>
            </div>
            <div class="three_con" @mouseover="hoverbtn(4)" @mouseout="outBtn">
              <img v-if="flag !== 4" src="@/assets/img/thirdMain/area chart.png" alt="">
              <img
                v-if="flag === 4"
                src="@/assets/img/thirdMain/point map备份.png"
                alt=""
              >
              <div class="con_text">
                <p>612</p>
                <span>其他资金收入</span>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div class="fristTopRight">
        <div class="mainTop_left">
          <div class="title">
            <span>两直资金</span>
          </div>
          <div class="topMain_top">
            <div
              v-for="(item, index) in topLeftList"
              :key="index"
              class="topItem_left"
            >
              <img :src="item.picUrl" alt="">
              <div class="topCon_left">
                <span>{{ item.title }}</span>
                <p>{{ item.num }}</p>
              </div>
            </div>
          </div>
          <div class="topMain_bot">
            <div v-for="(it, i) in progressTop" :key="i" class="topProgress">
              <p>{{ it.title }}</p>
              <div class="progressItem">
                <el-progress
                  :percentage="it.num"
                  color="#faad14"
                  :stroke-width="24"
                  :show-text="false"
                />
                <span>{{ it.num }}%</span>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="secndMid">
      <div class="main_bot">
        <div class="mainBot_left">
          <div class="title">
            <span>全区乡镇基本情况</span>
          </div>
          <div class="botLeft_bot">
            <div
              v-for="(botItem, ite) in botLeftList"
              :key="ite"
              class="botLeft_item"
            >
              <div class="botItem_left">
                <div class="itemCon">
                  <span>{{ botItem.title1 }}</span>
                  <p>{{ botItem.num1 }}</p>
                </div>
                <div class="itemCon">
                  <span>{{ botItem.title2 }}</span>
                  <p>{{ botItem.num2 }}</p>
                </div>
              </div>
              <div v-if="ite === 0" class="botItem_right">
                <VEcharts
                  autoresize
                  :options="optsBing"
                  style="width: 100%; height: 100%"
                />
              </div>
              <div v-if="ite === 1" class="botItem_right">
                <VEcharts
                  autoresize
                  :options="optsBing2"
                  style="width: 100%; height: 100%"
                />
              </div>
              <div v-if="ite === 2" class="botItem_right">
                <VEcharts
                  autoresize
                  :options="optsBing3"
                  style="width: 100%; height: 100%"
                />
              </div>
            </div>
          </div>
        </div>
        <div class="mainBot_right">
          <div class="botRight_top">
            <div class="title">
              <span>乡镇资金宽裕度</span>
            </div>
            <div class="char">
              <VEcharts
                autoresize
                :options="optstwoRight1"
                style="width: 100%; height: 100%"
              />
            </div>
          </div>
          <div class="botRight_bot">
            <div class="title">
              <span>镇街各财务帐套银行存款数汇总</span>
            </div>
            <div class="char">
              <VEcharts
                autoresize
                :options="optstwoRight2"
                style="width: 100%; height: 100%"
              />
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="thirdMid">
      <div class="mainTop_right">
        <div class="title">
          <span>乡镇公共服务平台</span>
        </div>
        <div class="mainTopRight_bot">
          <div
            v-for="(its, ins) in topRightList"
            :key="ins"
            class="topItem_right"
          >
            <img :src="its.picUrl" alt="">
            <div class="topCon_right">
              <span>{{ its.title }}</span>
              <p>{{ its.num }}</p>
            </div>
          </div>
        </div>
      </div>
      <div class="box_mid_top">
        <div
          class="con_left_top"
          style="margin-bottom: 10px; position: relative"
        >
          <h3>资金监管预警问题</h3>
        </div>
        <div class="tu_box">
          <VEcharts
            autoresize
            :options="optsMid"
            style="width: 100%; height: 100%"
          />
        </div>
      </div>
      <div class="box_right_top">
        <div
          class="con_left_top"
          style="margin-bottom: 10px; position: relative"
        >
          <h3>整改情况完成率</h3>
        </div>
        <div class="tu_box">
          <VEcharts
            autoresize
            :options="optsRight"
            style="width: 100%; height: 100%"
          />
        </div>
      </div>
    </div>
    <div class="box_two">
      <div class="box_left_two">
        <div
          class="con_left_top"
          style="margin-bottom: 10px; position: relative"
        >
          <h3>分乡镇预警情况</h3>
          <span class="danwei">单位：个</span>
        </div>
        <div class="tu_box">
          <VEcharts
            autoresize
            :options="optsTwoleft"
            style="width: 100%; height: 100%"
          />
        </div>
      </div>
      <div class="box_right_two">
        <div
          class="con_left_top"
          style="margin-bottom: 10px; position: relative"
        >
          <h3>乡镇资金巡查问题</h3>
          <span class="danwei">单位：个</span>
        </div>
        <div class="tu_box">
          <VEcharts
            autoresize
            :options="optsTworight"
            style="width: 100%; height: 100%"
          />
        </div>
      </div>
    </div>
    <!-- <div class="main_top">
      <div class="mainTop_left">
        <div class="title">
          <span>两直资金</span>
        </div>
        <div class="topMain_top">
          <div
            v-for="(item, index) in topLeftList"
            :key="index"
            class="topItem_left"
          >
            <img :src="item.picUrl" alt="" />
            <div class="topCon_left">
              <span>{{ item.title }}</span>
              <p>{{ item.num }}</p>
            </div>
          </div>
        </div>
        <div class="topMain_bot">
          <div class="topProgress" v-for="(it, i) in progressTop" :key="i">
            <p>{{ it.title }}</p>
            <div class="progressItem">
              <el-progress
                :percentage="it.num"
                color="#faad14"
                :stroke-width="24"
                :show-text="false"
              ></el-progress>
              <span>{{ it.num }}%</span>
            </div>
          </div>
        </div>
      </div>
      <div class="mainTop_right">
        <div class="title">
          <span>乡镇公共服务平台</span>
        </div>
        <div class="mainTopRight_bot">
          <div
            v-for="(its, ins) in topRightList"
            :key="ins"
            class="topItem_right"
          >
            <img :src="its.picUrl" alt="" />
            <div class="topCon_right">
              <span>{{ its.title }}</span>
              <p>{{ its.num }}</p>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="main_bot">
      <div class="mainBot_left">
        <div class="title">
          <span>全区乡镇基本情况</span>
        </div>
        <div class="botLeft_bot">
          <div
            class="botLeft_item"
            v-for="(botItem, ite) in botLeftList"
            :key="ite"
          >
            <div class="botItem_left">
              <div class="itemCon">
                <span>{{ botItem.title1 }}</span>
                <p>{{ botItem.num1 }}</p>
              </div>
              <div class="itemCon">
                <span>{{ botItem.title2 }}</span>
                <p>{{ botItem.num2 }}</p>
              </div>
            </div>
            <div class="botItem_right">
              <VEcharts
                autoresize
                :options="optsBing"
                style="width: 100%; height: 100%"
              />
            </div>
          </div>
        </div>
      </div>
      <div class="mainBot_right">
        <div class="botRight_top">
          <div class="title">
            <span>乡镇资金宽裕度</span>
          </div>
        </div>
        <div class="botRight_bot">
          <div class="title">
            <span>镇街各财务帐套银行存款数汇总</span>
          </div>
        </div>
      </div>
    </div> -->
  </div>
</template>

<script>
import VEcharts from '@/components/vecharts';

export default {
  components: {
    VEcharts
  },
  data() {
    return {
      fristTopList: [
        {
          picUrl: require('@/assets/img/thirdMain/third/总金额.png'),
          label1: '公共预算收入：',
          num1: '1,092,901',
          label2: '全市排名：',
          num2: '1',
          label3: '增幅：',
          num3: '22.8%',
          label4: '排名：',
          num4: '-'
        },
        {
          picUrl: require('@/assets/img/thirdMain/third/总金额.png'),
          label1: '公共预算支出：',
          num1: '787,871',
          label2: '支出进度：',
          num2: '60.60%',
          label3: '增幅：',
          num3: '-0.60%'
        }
      ],
      topLeftList: [
        {
          picUrl: require('@/assets/img/thirdMain/third/area chart.png'),
          title: '资金总量',
          num: '47,716.14'
        },
        {
          picUrl: require('@/assets/img/thirdMain/third/部门资金数量.png'),
          title: '单位分布个数',
          num: '64'
        }
      ],
      progressTop: [
        {
          title: '下达率：',
          num: 100
        },
        {
          title: '执行率：',
          num: 84.03
        }
      ],
      topRightList: [
        {
          picUrl: require('@/assets/img/thirdMain/third/项目数量.png'),
          title: '项目数量',
          num: '91'
        },
        {
          picUrl: require('@/assets/img/thirdMain/third/发放人次.png'),
          title: '发放人次',
          num: '204,251'
        },
        {
          picUrl: require('@/assets/img/thirdMain/third/总金额.png'),
          title: '总金额',
          num: '17,800万'
        },
        {
          picUrl: require('@/assets/img/thirdMain/third/实际发放数.png'),
          title: '实际发放数',
          num: '16,400万'
        }
      ],
      botLeftList: [
        {
          title1: '乡财乡管：',
          title2: '乡财县管：',
          num1: 12,
          num2: 4
        },
        {
          title1: '任务数量：',
          title2: '风险信息：',
          num1: 64,
          num2: 12
        },
        {
          title1: '财政办公室：',
          title2: '财政办公人员：',
          num1: 16,
          num2: 61
        }
      ],
      flag: 0,
      flag1: 0
    };
  },
  computed: {
    optsBing() {
      const newArr = {
        tooltip: {
          trigger: 'item'
        },
        series: [
          {
            name: '基本情况',
            type: 'pie',
            radius: ['40%', '70%'],
            avoidLabelOverlap: false,
            label: {
              show: false,
              position: 'center'
            },
            emphasis: {
              label: {
                show: true,
                fontSize: '12'
              }
            },
            labelLine: {
              show: false
            },
            data: [
              { value: 12, name: '乡财乡管' },
              { value: 4, name: '乡财县管' }
            ],
            color: ['#fda965', 'rgba(91,143,249,0.85)']
          }
        ]
      };
      return newArr;
    },
    optsBing2() {
      const newArr = {
        tooltip: {
          trigger: 'item'
        },
        series: [
          {
            name: '基本情况',
            type: 'pie',
            radius: ['40%', '70%'],
            avoidLabelOverlap: false,
            label: {
              show: false,
              position: 'center'
            },
            emphasis: {
              label: {
                show: true,
                fontSize: '12'
              }
            },
            labelLine: {
              show: false
            },
            data: [
              { value: 64, name: '任务数量' },
              { value: 12, name: '分险信息' }
            ],
            color: ['#fda965', 'rgba(91,143,249,0.85)']
          }
        ]
      };
      return newArr;
    },
    optsBing3() {
      const newArr = {
        tooltip: {
          trigger: 'item'
        },
        series: [
          {
            name: '基本情况',
            type: 'pie',
            radius: ['40%', '70%'],
            avoidLabelOverlap: false,
            label: {
              show: false,
              position: 'center'
            },
            emphasis: {
              label: {
                show: true,
                fontSize: '12'
              }
            },
            labelLine: {
              show: false
            },
            data: [
              { value: 16, name: '财政办公室' },
              { value: 61, name: '财政办公人员' }
            ],
            color: ['#fda965', 'rgba(91,143,249,0.85)']
          }
        ]
      };
      return newArr;
    },
    optstwoRight1() {
      const newArr = {
        xAxis: {
          axisLabel: {
            interval: 0,
            rotate: 40
          },
          type: 'category',
          data: [
            '马鞍',
            '齐贤',
            '安昌',
            '钱清',
            '扬汛桥',
            '夏履',
            '漓渚',
            '夏履',
            '福全',
            '兰亭',
            '平水',
            '王坛',
            '稽东'
          ],
          axisLine: {
            lineStyle: {
              color: 'rgba(0,0,0,0.45)'
            }
          },
          textStyle: {
            fontSize: '12'
          }
        },
        grid: {
          top: '7%',
          left: '3%',
          right: '5%',
          bottom: '6%',
          containLabel: true
        },
        yAxis: {
          type: 'value'
        },
        series: [
          {
            data: [
              0.5,
              0.42,
              0.62,
              0.45,
              0.89,
              0.65,
              0.23,
              0.34,
              0.59,
              0.37,
              0.69,
              0.81
            ],
            type: 'bar',
            itemStyle: {
              normal: {
                color: 'rgba(91,143,249,0.85)'
              }
            }
          }
        ]
      };

      return newArr;
    },
    optstwoRight2() {
      const newArr = {
        xAxis: {
          axisLabel: {
            // interval: 0,
            // rotate: 40,
          },
          type: 'category',
          data: ['财政帐', '城建帐', '公司帐', '政府帐', '事业综合服务中心帐'],
          axisLine: {
            lineStyle: {
              color: 'rgba(0,0,0,0.45)'
            }
          },
          textStyle: {
            fontSize: '12'
          }
        },
        grid: {
          top: '7%',
          left: '3%',
          right: '5%',
          bottom: '6%',
          containLabel: true
        },
        yAxis: {
          type: 'value'
        },
        series: [
          {
            data: [700, 100, 300, 570, 280],
            type: 'bar',
            itemStyle: {
              normal: {
                color: 'rgba(250,173,20,0.85)'
              }
            }
          }
        ]
      };

      return newArr;
    },
    optsMid() {
      const newArr1 = {
        tooltip: {
          trigger: 'item'
        },
        legend: {
          orient: 'vertical',
          left: '2%',
          itemWidth: 10,
          itemHeight: 10,
          itemStyle: {
            borderRadius: 5
          },
          textStyle: {
            // 图例文字的样式
            color: '#1fd2ff',
            fontSize: 12
          }
        },

        series: [
          {
            name: '访问来源',
            type: 'pie',
            radius: ['40%', '70%'],
            avoidLabelOverlap: false,
            center: ['60%', '50%'],

            label: {
              show: true,
              position: 'inner',
              formatter: function(params) {
                return params.percent - 0 + '%';
              },
              textStyle: {
                color: '#fff'
              }
            },
            emphasis: {
              label: {
                show: false,
                fontSize: '20',
                fontWeight: 'bold'
              }
            },
            labelLine: {
              show: false
            },
            data: [
              {
                value: 3,
                name: '拨付及时性',
                itemStyle: {
                  color: ' rgba(90,216,166,0.85)'
                }
              },
              {
                value: 1,
                name: '拨付合规性',
                itemStyle: {
                  color: ' rgba(93,112,146,0.85)'
                }
              },
              {
                value: 2,
                name: '资料真实性',
                itemStyle: {
                  color: ' rgba(232,104,74,0.85)'
                }
              },
              {
                value: 4,
                name: '资料完整性',
                itemStyle: {
                  color: ' rgba(246,189,22,0.85)'
                }
              },
              {
                value: 6,
                name: '项目现场巡查',
                itemStyle: {
                  color: 'rgba(91,143,249,0.85)'
                }
              }
            ]
          }
        ]
      };
      return newArr1;
    },
    optsRight() {
      const newArr1 = {
        tooltip: {
          trigger: 'item'
        },
        legend: {
          orient: 'vertical',
          left: '2%',
          itemWidth: 10,
          itemHeight: 10,
          itemStyle: {
            borderRadius: 5
          },
          textStyle: {
            // 图例文字的样式
            color: '#1fd2ff',
            fontSize: 12
          }
        },
        series: [
          {
            name: '访问来源',
            type: 'pie',
            radius: ['40%', '70%'],
            // avoidLabelOverlap: false,
            label: {
              show: true,
              position: 'inner',
              formatter: function(params) {
                return params.percent - 0 + '%';
              },
              textStyle: {
                color: '#fff'
              }
            },
            // emphasis: {
            //   label: {
            //     show: true,
            //     fontSize: "40",
            //     fontWeight: "bold",
            //   },
            // },
            labelLine: {
              show: false
            },

            data: [
              {
                value: 73,
                name: '已完成',
                itemStyle: {
                  color: 'rgba(91,143,249,0.85)'
                }
              },
              {
                value: 27,
                name: '未完成',
                itemStyle: {
                  color: 'rgba(90,216,166,0.85)'
                }
              }
            ]
          }
        ]
      };
      return newArr1;
    },
    optsTwoleft() {
      const newArr1 = {
        grid: {
          top: '7%',
          left: '3%',
          right: '5%',
          bottom: '6%',
          containLabel: true
        },
        xAxis: {
          axisLabel: {
            interval: 0,
            rotate: 40
          },
          axisLine: {
            lineStyle: {
              color: 'rgba(0,0,0,0.45)'
            }
          },
          type: 'category',
          data: [
            '王坛',
            '稽东',
            '平水',
            '兰亭',
            '漓渚',
            '福全',
            '夏履',
            '杨汛桥',
            '钱清',
            '安昌',
            '齐贤',
            '马鞍'
          ]
        },
        yAxis: {
          type: 'value'
        },
        series: [
          {
            data: [
              {
                value: 2,
                itemStyle: {
                  color: '#a083d0'
                }
              },
              {
                value: 1,
                itemStyle: {
                  color: '#73a0fa'
                }
              },
              {
                value: 3,
                itemStyle: {
                  color: '#eb7e65'
                }
              },
              {
                value: 4,
                itemStyle: {
                  color: '#73a0fa'
                }
              },
              {
                value: 2,
                itemStyle: {
                  color: '#84d1f0'
                }
              },
              {
                value: 1,
                itemStyle: {
                  color: '#73a0fa'
                }
              },
              {
                value: 3,
                itemStyle: {
                  color: '#73deb3'
                }
              },
              {
                value: 1,
                itemStyle: {
                  color: '#73a0fa'
                }
              },
              {
                value: 2,
                itemStyle: {
                  color: '#f7c739'
                }
              },
              {
                value: 3,
                itemStyle: {
                  color: '#eb7e65'
                }
              },
              {
                value: 1,
                itemStyle: {
                  color: '#84d1f0'
                }
              },
              {
                value: 2,
                itemStyle: {
                  color: '#73a0fa'
                }
              }
            ],
            type: 'bar'
          }
        ]
      };
      return newArr1;
    },
    optsTworight() {
      const newArr1 = {
        grid: {
          top: '7%',
          left: '3%',
          right: '5%',
          bottom: '6%',
          containLabel: true
        },
        xAxis: {
          axisLabel: {
            interval: 0,
            rotate: 40
          },
          axisLine: {
            lineStyle: {
              color: 'rgba(0,0,0,0.45)'
            }
          },
          type: 'category',
          data: [
            '马鞍',
            '齐贤',
            '安昌',
            '钱清',
            '扬汛桥',
            '夏履',
            '漓渚',
            '夏履',
            '福全',
            '兰亭',
            '平水',
            '王坛',
            '稽东'
          ]
        },
        yAxis: {
          type: 'value'
        },
        series: [
          {
            data: [
              {
                value: 2,
                itemStyle: {
                  color: '#73a0fa'
                }
              },
              {
                value: 1,
                itemStyle: {
                  color: '#73a0fa'
                }
              },
              {
                value: 5,
                itemStyle: {
                  color: '#73a0fa'
                }
              },
              {
                value: 3,
                itemStyle: {
                  color: '#73deb3'
                }
              },
              {
                value: 2,
                itemStyle: {
                  color: '#73a0fa'
                }
              },
              {
                value: 1,
                itemStyle: {
                  color: '#73a0fa'
                }
              },
              {
                value: 2,
                itemStyle: {
                  color: '#73deb3'
                }
              },
              {
                value: 1,
                itemStyle: {
                  color: '#73a0fa'
                }
              },
              {
                value: 1,
                itemStyle: {
                  color: '#f7c739'
                }
              },
              {
                value: 1,
                itemStyle: {
                  color: '#eb7e65'
                }
              },
              {
                value: 3,
                itemStyle: {
                  color: '#84d1f0'
                }
              },
              {
                value: 2,
                itemStyle: {
                  color: '#a083d0'
                }
              }
            ],
            type: 'bar'
          }
        ]
      };
      return newArr1;
    }
  },
  methods: {
    btnUrl(val) {
      if (localStorage.getItem('aaa')) {
        window.open(`http://115.239.175.246:5501/item/#${val}`);
      } else {
        window.open(
          `http://115.239.175.246:5501/item/#/login?isAutoLogin=1&path=${val}`
        );
        localStorage.setItem('aaa', 'aaa');
      }
    },
    hoverbtn(val) {
      this.flag = val;
    },
    outBtn() {
      this.flag = 0;
    }
  }
};
</script>

<style lang="scss" scoped>
// $vw: 1920px;
// @function px2vw($px) {
//   @return $px / $vw * 100vw;
// }
.main_box {
  // display: flex;
  // justify-content: space-between;
  // align-content: space-between;
  // flex-wrap: wrap;
  // height: 100%;
  padding: 20px 20px 2px 20px;
}
.fristTop {
  height: 387px;
  display: flex;
  justify-content: space-between;
  .title {
    height: 14%;
    margin-left: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    .danwei{
      font-style: normal;
      left: 20px;
      top: 50px;
    }
    span {
      font-size: 24px;
      font-family: PingFangSC, PingFangSC-Medium;
      font-weight: 500;
      text-align: left;
      color: #333333;
    }
    p {
      font-size: 12px;
    }
  }
  .fristTopLeft {
    padding: 0 10px;
    width: 28%;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 9px 9px 25px 0px rgba(0, 0, 0, 0.08);

    display: flex;
    flex-direction: column;
    .item_box {
      height: 84%;
      display: flex;
      flex-direction: column;
      justify-content: space-around;
    }
    .pageMid_item {
      height: 40%;
      display: flex;
      align-items: center;
      background: #edf4ff;
      border-radius: 2px;
      .picItem {
        width: 25%;
        display: flex;
        align-items: center;
        justify-content: center;
        img {
          width: 50px;
          height: 50px;
        }
      }

      .conItem {
        height: 84px;
        width: 80%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        .conText {
          width: 70%;
          display: flex;
          align-items: center;

          p {
            margin: 0;
            width: 65%;
            font-size: 14px;
            font-family: PingFangSC, PingFangSC-Medium;
            font-weight: 500;
            color: #999999;
            text-align: left;
          }
          span {
            width: 40%;
            font-size: 20px;
            font-family: ArialMT, ArialMT-Regular;
            font-weight: 400;
            text-align: left;
            color: #333333;
          }
        }
      }
      .conItem_top {
        height: px2vw(70px);
        width: 80%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        .conRow {
          display: flex;
          p {
            margin: 0;
            width: 52%;
            font-size: px2vw(18px);
            font-family: PingFangSC, PingFangSC-Medium;
            font-weight: 500;
            color: #ffffff;
            text-align: left;
          }
          span {
            width: 48%;
            font-size: px2vw(20px);
            font-family: ArialMT, ArialMT-Regular;
            font-weight: 400;
            text-align: left;
            color: #f6bd16;
          }
          .conRow_left {
            width: 65%;
            display: flex;
          }
          .conRow_right {
            width: 30%;
            display: flex;
            p {
              text-align: right;
            }
          }
        }
      }
    }
  }
  .fristTopMid {
    width: 29%;
    height: 100%;
    .box_left_three {
      background: #ffffff;
      border-radius: 4px;
      height: 100%;
    }
    .three_con {
      height: 100%;

      margin: 0 20px;
      width: 90%;
      display: flex;
      justify-content: center;
      border: 2px solid #f2f3f5;
      border-radius: 6px;
      margin-bottom: 16px;
      &:hover {
        background: #1492ff;
        border: 2px solid #f2f3f5;
        p {
          color: #fff;
        }
        span {
          color: rgba(255, 255, 255, 0.85);
        }
      }
      // align-content: center;
      align-items: center;
      img{
        margin-left: 15%;
      }
      .con_text {
        width: 50%;
        margin-left: 20px;
      }
      p {
        font-size: 24px;
        font-family: PingFangSC, PingFangSC-Medium;
        font-weight: 500;
        color: #333333;
      }
      span {
        font-size: 16px;
        font-family: PingFangSC, PingFangSC-Medium;
        font-weight: 500;
        color: #999999;
      }
    }
  }
  .fristTopRight {
    width: 40%;
    .mainTop_left {
      width: 100%;
      height: 100%;
      background: #ffffff;
      border-radius: 4px;
      box-shadow: 9px 9px 25px 0px rgba(0, 0, 0, 0.08);

      .topMain_top {
        padding: 0 24px;
        width: 100%;
        margin-top: 3%;
        height: 26%;
        display: flex;
        justify-content: space-between;
        margin-bottom: 20px;
        .topItem_left {
          width: 48%;
          background: #edf4ff;
          border-radius: 2px;
          display: flex;
          align-items: center;
          padding-left: 10px;
          img {
            width: 50px;
            height: 50px;
          }
          .topCon_left {
            margin-left: 10px;
            span {
              font-size: 16px;
              font-family: PingFangSC, PingFangSC-Regular;
              font-weight: 400;
              text-align: left;
              color: #999999;
            }
            p {
              font-size: 24px;
              font-family: Arial, Arial-Regular;
              font-weight: 400;
              text-align: left;
              color: #333333;
            }
          }
        }
      }
      .topMain_bot {
        padding: 0 24px;
        height: 50%;
        .topProgress {
          height: 40%;
          padding-top: 10px;
          p {
            font-size: 18px;
            font-family: PingFangSC, PingFangSC-Regular;
            font-weight: 400;
            text-align: left;
            color: #999999;
            padding-bottom: 5px;
          }
          .progressItem {
            display: flex;
            align-items: center;
            /deep/.el-progress {
              width: 88%;
            }
            span {
              width: 12%;
              font-size: 24px;
              font-family: Arial, Arial-Regular;
              font-weight: 400;
              color: #333333;
              margin-left: 11px;
            }
          }
        }
      }
    }
  }
}
.secndMid {
  height: 525px;
  margin-top: 20px;
  .main_bot {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;

    .title {
      height: 12%;
      display: flex;
      align-items: center;
      margin-left: 20px;
      span {
        font-size: 24px;
        font-family: PingFangSC, PingFangSC-Medium;
        font-weight: 500;
        text-align: left;
        color: #333333;
      }
    }
    .mainBot_left {
      width: 28%;
      box-shadow: 9px 9px 25px 0px rgba(0, 0, 0, 0.08);

      background: #ffffff;
      border-radius: 4px;
      .botLeft_bot {
        height: 88%;
        padding: 0 20px 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        .botLeft_item {
          height: 30%;
          background: #edf4ff;
          border-radius: 2px;
          display: flex;
          align-items: center;
          .botItem_left {
            width: 60%;
            height: 80%;
            display: flex;
            justify-content: center;
            flex-direction: column;
            .itemCon {
              display: flex;
              align-items: center;
              span {
                width: 86%;
                font-size: 16px;
                font-family: PingFangSC, PingFangSC-Regular;
                font-weight: 400;
                color: #999999;
                padding-left: 20px;
              }
              p {
                font-size: 22px;
                font-family: Arial, Arial-Regular;
                font-weight: 400;
                text-align: left;
                color: #333333;
              }
            }
          }
          .botItem_right {
            width: 40%;
            height: 80%;
          }
        }
      }
    }
    .mainBot_right {
      .title {
        height: 25%;
      }
      width: 70%;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      .botRight_top {
        height: 48.5%;
        background: #ffffff;
        border-radius: 4px;
        box-shadow: 9px 9px 25px 0px rgba(0, 0, 0, 0.08);

        .char {
          height: 75%;
        }
      }
      .botRight_bot {
        height: 48.5%;
        background: #ffffff;
        border-radius: 4px;
        box-shadow: 9px 9px 25px 0px rgba(0, 0, 0, 0.08);

        .char {
          height: 75%;
        }
      }
    }
  }
}
.thirdMid {
  height: 387px;
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  .mainTop_right {
    width: 38%;
    height: 100%;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 9px 9px 25px 0px rgba(0, 0, 0, 0.08);

    .title {
      height: 16%;
      margin-left: 20px;
      display: flex;
      align-items: center;
      span {
        font-size: 24px;
        font-family: PingFangSC, PingFangSC-Medium;
        font-weight: 500;
        text-align: left;
        color: #333333;
      }
    }
    .mainTopRight_bot {
      margin-top: 4%;
      height: 61%;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      padding: 0 24px;
      .topItem_right {
        height: 43%;
        width: 48%;
        background: #edf4ff;
        border-radius: 2px;
        display: flex;
        align-items: center;
        padding-left: 24px;
        img {
          width: 50px;
          height: 50px;
        }
        .topCon_right {
          margin-left: 16px;
          span {
            font-size: 16px;
            font-family: PingFangSC, PingFangSC-Regular;
            font-weight: 400;
            text-align: left;
            color: #999999;
          }
          p {
            font-size: 24px;
            font-family: Arial, Arial-Regular;
            font-weight: 400;
            text-align: left;
            color: #333333;
          }
        }
      }
    }
  }
  .box_mid_top,
  .box_right_top {
    width: 29.5%;
    height: 100%;
    background: #fff;
    border-radius: 20px;
    box-shadow: 9px 9px 25px 0px rgba(0, 0, 0, 0.08);
  }
}
.box_two {
  display: flex;
  justify-content: space-between;
  align-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  height: 320px;
  margin-bottom: 36px;
  margin-top: 20px;
}
.box_left_two,
.box_right_two {
  width: 49%;
  height: 100%;
  background: #fff;
  border-radius: 20px;
  box-shadow: 9px 9px 25px 0px rgba(0, 0, 0, 0.08);
}
.box_left_three,
.box_right_three,
.box_left_bot,
.box_right_bot {
  height: 100%;
  background: #fff;
  border-radius: 20px;
  box-shadow: 9px 9px 25px 0px rgba(0, 0, 0, 0.08);
}

.main_top {
  width: 100%;
  height: 41%;
  display: flex;
  justify-content: space-between;
  .title {
    height: 16%;
    margin-left: 20px;
    display: flex;
    align-items: center;
    span {
      font-size: 24px;
      font-family: PingFangSC, PingFangSC-Medium;
      font-weight: 500;
      text-align: left;
      color: #333333;
    }
  }
  .mainTop_left {
    width: 100%;
    background: #ffffff;
    border-radius: 4px;
    .topMain_top {
      padding: 0 40px;
      width: 100%;
      margin-top: 3%;
      height: 26%;
      display: flex;
      justify-content: space-between;
      .topItem_left {
        width: 48%;
        background: #edf4ff;
        border-radius: 2px;
        display: flex;
        align-items: center;
        padding-left: 24px;
        img {
          width: 50px;
          height: 50px;
        }
        .topCon_left {
          margin-left: 16px;
          span {
            font-size: 16px;
            font-family: PingFangSC, PingFangSC-Regular;
            font-weight: 400;
            text-align: left;
            color: #999999;
          }
          p {
            font-size: 24px;
            font-family: Arial, Arial-Regular;
            font-weight: 400;
            text-align: left;
            color: #333333;
          }
        }
      }
    }
    .topMain_bot {
      padding: 0 40px;
      height: 50%;
      .topProgress {
        height: 40%;
        padding-top: 10px;
        p {
          font-size: 18px;
          font-family: PingFangSC, PingFangSC-Regular;
          font-weight: 400;
          text-align: left;
          color: #999999;
          padding-bottom: 5px;
        }
        .progressItem {
          display: flex;
          align-items: center;
          /deep/.el-progress {
            width: 90%;
          }
          span {
            width: 10%;
            font-size: 24px;
            font-family: Arial, Arial-Regular;
            font-weight: 400;
            color: #333333;
            margin-left: 11px;
          }
        }
      }
    }
  }
  .mainTop_right {
    width: 49%;
    background: #ffffff;
    border-radius: 4px;
    .mainTopRight_bot {
      margin-top: 4%;
      height: 61%;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      padding: 0 40px;
      .topItem_right {
        height: 43%;
        width: 48%;
        background: #edf4ff;
        border-radius: 2px;
        display: flex;
        align-items: center;
        padding-left: 24px;
        img {
          width: 50px;
          height: 50px;
        }
        .topCon_right {
          margin-left: 16px;
          span {
            font-size: 16px;
            font-family: PingFangSC, PingFangSC-Regular;
            font-weight: 400;
            text-align: left;
            color: #999999;
          }
          p {
            font-size: 24px;
            font-family: Arial, Arial-Regular;
            font-weight: 400;
            text-align: left;
            color: #333333;
          }
        }
      }
    }
  }
}
.main_bot {
  width: 100%;
  height: 57%;
  display: flex;
  justify-content: space-between;
  .title {
    height: 12%;
    display: flex;
    align-items: center;
    margin-left: 20px;
    span {
      font-size: 24px;
      font-family: PingFangSC, PingFangSC-Medium;
      font-weight: 500;
      text-align: left;
      color: #333333;
    }
  }
  .mainBot_left {
    width: 27%;
    background: #ffffff;
    border-radius: 4px;
    .botLeft_bot {
      height: 88%;
      padding: 0 20px 20px;
      display: flex;
      flex-direction: column;
      .botLeft_item {
        height: 30%;
        background: #edf4ff;
        border-radius: 2px;
        display: flex;
        align-items: center;
        .botItem_left {
          width: 60%;
          height: 80%;
          display: flex;
          justify-content: center;
          flex-direction: column;
          .itemCon {
            display: flex;
            align-items: center;
            span {
              width: 86%;
              font-size: 16px;
              font-family: PingFangSC, PingFangSC-Regular;
              font-weight: 400;
              color: #999999;
              padding-left: 20px;
            }
            p {
              font-size: 22px;
              font-family: Arial, Arial-Regular;
              font-weight: 400;
              text-align: left;
              color: #333333;
            }
          }
        }
        .botItem_right {
          width: 40%;
          height: 80%;
        }
      }
    }
  }
  .mainBot_right {
    .title {
      height: 25%;
    }
    width: 71%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    .botRight_top {
      height: 48.5%;
      background: #ffffff;
      border-radius: 4px;
    }
    .botRight_bot {
      height: 48.5%;
      background: #ffffff;
      border-radius: 4px;
    }
  }
}
.con_left_top {
  position: relative;
  display: flex;
  align-items: center;
  height: 54px;
    margin-left: 20px;
  h3 {
    display: inline-block;
    font-size: 24px;
    font-family: PingFangSC, PingFangSC-Medium;
    font-weight: 500;
    text-align: left;
    color: #333333;
    vertical-align: middle;
    margin: 0;
  }
  .con_plan {
    position: absolute;
    right: 26px;
    top: 3px;
    span {
      display: inline-block;
      width: 8px;
      height: 8px;
      background: linear-gradient(90deg, #94c2fd, #5b8ff9) r;
    }
    b {
      display: inline-block;
      height: 17px;
      font-size: 12px;
      font-family: PingFangSC, PingFangSC-Regular;
      line-height: 17px;
      margin-left: 8px;
      color: #8c8c8c;
    }
  }
  .con_new {
    position: absolute;
    right: 26px;
    top: 24px;
    span {
      display: inline-block;
      width: 8px;
      height: 8px;
      background: linear-gradient(90deg, #93eed2, #5ad8a6);
    }
    b {
      display: inline-block;
      height: 17px;
      font-size: 12px;
      font-family: PingFangSC, PingFangSC-Regular;
      line-height: 17px;
      margin-left: 8px;
      color: #8c8c8c;
    }
  }
}
.danwei {
  font-size: 12px;
  color: #808080;
  position: absolute;
  left: 26px;
  top: 50px;
}
.tu_box {
  height: calc(100% - 44px);
}
p{
  margin: 0;
}
</style>
